<template>
  <div>
    <h2 style="font-weight: bold;">{{ title }}</h2>
  </div>
</template>

<script setup>
import { onMounted, ref } from "vue";
import { useRoute } from "vue-router";

const title = ref('')
onMounted(() => {
  const route = useRoute();
  title.value = route.meta.title;
});
</script>

<style scoped lang="scss"></style>